package com.cyx.exam.entity;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 问题题目
 * </p>
 *
 * @author cyx
 * @since 2021-03-09
 */
@Data
@Accessors(chain = true)
  @EqualsAndHashCode(callSuper = false)
    public class Qu implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 题目ID
     */
      @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

      /**
     * 题目类型,1-判断
       *        2-单选
       *        3-多选
     */
      private Integer quType;

      /**
     * 题目内容
     */
      private String content;

      /**
     * 创建时间
     */
        @TableField(fill = FieldFill.INSERT)
      private LocalDateTime createTime;

      /**
     * 更新时间
     */
        @TableField(fill = FieldFill.INSERT_UPDATE)
      private LocalDateTime updateTime;

      /**
     * 题目备注
     */
      private String remark;

      /**
     * 整题解析
     */
      private String analysis;

      /**
       * 题目分数
       */
      private Integer score;

      /**
       * 试卷ID
       */
      private Integer examId;

}
